//
//  EJSUpgradeVipDescriptionTableViewCell.m
//  EnjoyShoppingStreet
//
//  Created by lifayu on 2018/1/15.
//  Copyright © 2018年 lifayu. All rights reserved.
//

#import "EJSUpgradeVipDescriptionTableViewCell.h"

@implementation EJSUpgradeVipDescriptionTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setIntro:(NSString *)intro{
    NSAttributedString * attrStr = [[NSAttributedString alloc] initWithData:[intro dataUsingEncoding:NSUnicodeStringEncoding] options:@{ NSDocumentTypeDocumentAttribute: NSHTMLTextDocumentType } documentAttributes:nil error:nil];
    self.descriptionLabel.attributedText = attrStr;
}

@end
